.aui-content {
  padding: 40px 60px;
  min-height: 100vh;
}

.aui-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(255, 71, 87, 0.3);
  position: fixed;
  top: 50%;
  left: 50%;
  width: 92%;
  height: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.aui-form {
  width: 100%;
  background: transparent;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
}

.aui-image {
  padding: 180px 80px;
  flex-basis: 60%;
  -webkit-flex-basis: 60%;
  background: linear-gradient(135deg, #ffffff, #ffffff, #ffe0e3, #ffffff, #ffffff);
  //background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 25%, #ff4757 50%, #ff3838 75%, #ff0000 100%);
  background-size: cover;
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 71, 87, 0.3) 0%, transparent 50%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
  }
}

.aui-image-text {
  top: 50%;
  left: 50%;
  width: 100%;
}

.aui-formBox {
  flex-basis: 40%;
  -webkit-flex-basis: 40%;
  box-sizing: border-box;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(255, 71, 87, 0.2);
}

.aui-logo {
  width: 180px;
  height: 80px;
  position: absolute;
  top: 2%;
  left: 8%;
  z-index: 4;
}

.aui-account-line {
  padding-top: 20px;
  padding-bottom: 40px;
}

.aui-code-line {
  position: absolute;
  right: 0;
  top: 0;
  border-left: 3px solid #ff4757;
  height: 42px;
  padding: 0 15px;
  line-height: 40px;
  font-size: 14px;
  cursor: pointer;
  color: #ff4757;
}

.aui-eye {
  position: absolute;
  right: 20px;
  top: 10px;
  width: 20px;
  cursor: pointer;
  color: #ff4757;
}

.aui-input-line {
  background: #f8f9fa;
  border-radius: 12px;
  position: relative;
  margin: 12px 0;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  
  &:focus-within {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
    transform: translateY(-2px);
  }
}

.aui-input-line input {
  width: 100%;
  padding: 15px 15px;
  border: none;
  color: #333333;
  font-size: 14px;
  background: unset;
  padding-left: 50px;
  border-radius: 10px;
}

.aui-input-line .icon {
  position: absolute;
  top: 12px;
  left: 15px;
  width: 24px;
  height: 24px;
  background-size: 24px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.icon-line-user {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.icon-line-tel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.icon-line-msg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
}

.icon-line-pad {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10z'/%3E%3C/svg%3E");
}

.aui-forgot .aui-input-line input {
  padding-left: 20px;
}

.aui-forgot .aui-input-line {
  background: none;
  border: 2px solid #ff4757;
  border-radius: 12px;
}

.aui-forgot .aui-input-line:focus {
  border-color: #ff0000;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.aui-forgot .aui-input-line:hover {
  border-color: #ff0000;
}

.aui-forgot .aui-input-line .aui-code-line {
  border-left: 1px solid #ff4757;
  height: 40px;
  color: #ff4757;
}

.aui-step-box {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  margin-bottom: 20px;
}

.aui-step-box::after {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 76%;
  margin-left: -38%;
  height: 1px;
  background: #ff4757;
  content: '';
}

.aui-step-item {
  width: 33.333%;
  float: left;
  text-align: center;
  position: relative;
  z-index: 2;
}

.aui-step-tags em {
  width: 40px;
  height: 40px;
  border: 8px solid #fff;
  line-height: 1.3;
  border-radius: 100px;
  background: #ff4757;
  display: block;
  margin: 0 auto;
  font-style: normal;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}

.aui-step-tags p {
  font-size: 14px;
  color: #ff4757;
}

.activeStep .aui-step-tags em {
  background: #ff0000;
}

.activeStep .aui-step-tags p {
  color: #ff0000;
}

.aui-success {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 80px;
  width: 100%;
  margin-top: -40px;
  margin-left: -50%;
}

.aui-success-icon {
  width: 40px;
  margin: 0 auto;
}

.aui-success h3 {
  width: 100%;
  text-align: center;
  color: #515151;
  font-size: 18px;
  padding-top: 20px;
}

.aui-form-nav {
  text-align: center;
  padding-bottom: 20px;
}

.aui-form-nav .aui-flex-box {
  color: #040404;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  
  &:hover {
    color: #ff4757;
  }
}

.aui-clear-left {
  text-align: left;
}

.aui-clear-left .activeNav::after {
  left: 18px;
}

.activeNav {
  position: relative;
}

.activeNav::after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -10px;
  left: 50%;
  margin-left: -15px;
  width: 30px;
  height: 4px;
  background: #ff4757;
  border-radius: 100px;
}

.phone .aui-inputClear {
  padding-left: 0;
}

.phone .aui-inputClear input {
  //padding-left: 1px;
}

.phone .aui-inputClear .aui-code {
  text-align: right;
  width: auto;
  bottom: 10px;
}

.phone .aui-inputClear .aui-code a {
  color: #ff4757;
  font-size: 14px;
}

.phoneChina {
  position: absolute;
  bottom: 10px;
  left: 0;
  font-size: 14px;
  color: #040404;
}

.phoneChina::after {
  position: absolute;
  right: -25px;
  bottom: 0;
  content: '';
  background-image: url(../icon/icon_dow.png);
  background-size: 18px;
  width: 18px;
  height: 18px;
}

.phoneChina:before {
  position: absolute;
  right: -42px;
  bottom: -15px;
  content: ' ';
  background: #fff;
  width: 18px;
  height: 18px;
}

.aui-ewm {
  width: 280px;
  margin: 0 auto;
}

.aui-formEwm {
  padding: 50px 40px 55px 40px;
}

.aui-inputClear {
  width: 100%;
  border-bottom: 2px solid #e0e0e0;
  position: relative;
  padding-left: 20px;
  background: #f8f9fa;
  margin-bottom: 15px;
  margin-top: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  
  &:focus-within {
    border-bottom-color: #ff4757;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
    transform: translateY(-2px);
  }
  
  &:hover {
    border-bottom-color: #ff4757;
    background: #fff;
  }
}

.aui-inputClear .icon {
  position: absolute;
  top: 12px;
  left: 0;
  width: 24px;
  height: 24px;
  background-size: 24px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.aui-inputClear input {
  width: 100%;
  padding: 15px 15px;
  border: none;
  color: #333333;
  font-size: 14px;
  background: none;
  border-radius: 10px;
}

.aui-code {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 115px;
  cursor: pointer;
}

.icon-code {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.icon-password {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10z'/%3E%3C/svg%3E");
}

.icon-code {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.aui-choice {
  position: relative;
  font-size: 12px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
  color: #040404;
}

.aui-choice input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #ff4757;
}

.aui-forget a {
  color: #ff4757;
  font-size: 12px;
  transition: all 0.3s ease;
  
  &:hover {
    color: #ff0000;
    text-decoration: underline;
  }
}

.aui-formButton {
  padding-top: 20px;
}

.aui-formButton a {
  height: 50px;
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ff4757, #ff0000);
  width: 100%;
  cursor: pointer;
  border: none;
  color: #fff;
  margin: 8px 0;
  display: block;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      animation: shimmer 0.6s ease-in-out;
    }
  }
  
  &:active {
    transform: translateY(0);
  }
}

.aui-formButton .aui-linek-code {
  background: #fff;
  color: #3c3c3c;
  border: 2px solid #ff4757;
  
  &:hover {
    color: #ff4757;
    border: 2px solid #ff0000;
    background: rgba(255, 71, 87, 0.05);
  }
}

.aui-third-text {
  font-size: 12px;
  color: #3c3c3c;
  margin-top: 25px;
  margin-bottom: 25px;
}

.aui-third-text span {
  color: #afafaf;
  display: block;
  width: 38%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  background: #fff;
  z-index: 100;
  font-size: 12px;
}

.aui-third-border {
  position: relative;
}

.aui-third-border::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px solid #ff4757;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
}

.aui-third-login {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  border-radius: 100px;
}

.aui-third-login a {
  font-size: 22px;
  margin: 0 auto;
  border-radius: 100px;
  display: inline-block;
  color: #888;
  transition: all 0.3s ease;
  
  &:hover {
    color: #ff4757;
    cursor: pointer;
    transform: scale(1.1);
  }
}

.aui-third-login:hover {
  cursor: pointer;
}

// 动画定义
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

@media (max-width: 320px) {
  .aui-form {
    flex-direction: column;
  }

  .aui-image {
    order: 2;
    display: none;
  }

  .aui-container {
    width: 100%;
    max-width: 550px;
    margin-top: 10px;
  }

  .aui-content {
    justify-content: initial;
    width: 100%;
    padding: 20px;
  }
}

@media (min-width: 321px) and (max-width: 375px) {
  .aui-form {
    flex-direction: column;
  }

  .aui-image {
    order: 2;
    display: none;
  }

  .aui-container {
    width: 90%;
    max-width: 550px;
  }

  .aui-content {
    justify-content: initial;
    width: 100%;
    padding: 20px;
  }
}

@media (min-width: 375px) and (max-width: 425px) {
  .aui-form {
    flex-direction: column;
  }

  .aui-image {
    order: 2;
    display: none;
  }

  .aui-container {
    width: 90%;
    max-width: 550px;
  }

  .aui-content {
    justify-content: initial;
    width: 100%;
    padding: 40px;
  }
}

@media (min-width: 425px) and (max-width: 768px) {
  .aui-form {
    flex-direction: column;
  }

  .aui-image {
    order: 2;
    display: none;
  }

  .aui-container {
    width: 90%;
    max-width: 550px;
  }

  .aui-content {
    justify-content: initial;
    width: 100%;
    padding: 40px;
  }

  .aui-step-box::after {
    width: 70%;
    margin-left: -35%;
  }
}

@media only screen and (max-width: 767px) {
  .aui-logo {
    top: 3%;
  }
}

@media screen and (max-width: 300px) {
  .aui-logo {
    top: 3%;
  }
}
